import pyautogui
import time


# while True:
#     # 获取鼠标当前的 x 和 y 坐标
#     x, y = pyautogui.position()
#     print(f"【实时获取】当前鼠标位置: X = {x}, Y = {y}")
#     time.sleep(0.5)

# X = 7176, Y = 1581
# X = 7301, Y = 1586

pyautogui.moveTo(7176, 1581,3)
time.sleep(1)
pyautogui.mouseDown(7176, 1581,"left")
time.sleep(1)
pyautogui.moveTo(7301, 1586,1)
time.sleep(1)
pyautogui.mouseUp()
